/**
 * Generali Solutions d'assurances - Tous droits réservés &copy; 2007 - 2010
 */
package fr.generali.accueilclient.resume.suspens.builder;

import fr.generali.accueilclient.resume.suspens.om.IOperation;

/**
 * @author Holmes Kelly
 */
public class OperationDirector {

    /**
     * 
     */
    private IOperationBuilder operationBuilder = null;

    /**
     * @param operationBuilder operationBuilder
     */
    public OperationDirector(IOperationBuilder operationBuilder) {
        this.operationBuilder = operationBuilder;
    }

    /**
     * Appel de tous les build de operationBuilder
     */
    public void constructOperation() {

        operationBuilder.buildCodeAvancement();
        operationBuilder.buildLibelleAvancement();
        operationBuilder.buildLibelleStatut();
        operationBuilder.buildAdresse();
        operationBuilder.buildCategorie();
        operationBuilder.buildCodeCompagnie();
        operationBuilder.buildCodePortefeuille();
        operationBuilder.buildCodeProduit();
        operationBuilder.buildLibelleProduit();
        operationBuilder.buildCodeStatistique();
        operationBuilder.buildCoordonneesBancaires();
        operationBuilder.buildDateEffet();
        operationBuilder.buildDateEffetNouvelleAffaire();
        operationBuilder.buildDateResiliation();
        operationBuilder.buildEcheance();
        operationBuilder.buildFrequence();
        operationBuilder.buildModePaiement();
        operationBuilder.buildMontantAnnuelHT();
        operationBuilder.buildMontantAnnuelTTC();
        operationBuilder.buildMotifFinActivite();
        operationBuilder.buildNature();
        operationBuilder.buildNatureAvenant();
        operationBuilder.buildNumeroContrat();
        operationBuilder.buildNumeroSuspens();
        operationBuilder.buildRoles();
        operationBuilder.buildStatut();

    }

    /**
     * @return operation
     */
    public IOperation getOperation() {

        return operationBuilder.getOperation();
    }

}
